package com.fortune.rainshinecommon.enums;

public enum ResultCode {
    SUCCESS(1, "成功"), 
    FAILURE(-1, "失败"),
    VERCODEERROR(-2,"图形验证码错误"),
    NOTEXISTS(-3,"该帐号不存在"),
    CODEERROR(-4,"短信验证码错误"),
	PASSWORDERROR(-5,"密码错误"),
	NODATA(-6,"暂无数据");
    private final int code;
    private final String message;

    ResultCode(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
